﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pro_CompletChange.aspx.cs" Inherits="ArtLand.OA.Project.Project.Pro_CompletChange" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>

    <script src="../js/jquery-1.4.1.min.js"></script>

    <style>
        .x-form-item
        {
            padding: 5px;
        }

        .mright
        {
            margin-right: 5px;
        }

        .datecontainer .x-form-field-trigger-wrap
        {
            margin-right: 5px;
        }

        .tright
        {
            text-align: right;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
        <ext:Panel ID="Panel1" BodyPadding="10px" runat="server" EnableBackgroundColor="false"
            EnableCollapse="True" Title="面板" Width="600px" ShowHeader="false" ShowBorder="false" AutoScroll="true">
            <Toolbars>
                <ext:Toolbar Position="Footer">
                    <Items>
                        <ext:Button Text="保存" Icon="DatabaseSave" ValidateForms="SimpleForm2" ConfirmText="您确定要保存吗？" ID="btnSave" runat="server" OnClick="btnSave_Click"></ext:Button>
                        <ext:Button Text="关闭" Icon="SystemClose" ID="btnClose" runat="server"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:SimpleForm ID="SimpleForm2" EnableBackgroundColor="false" ShowBorder="false" ShowHeader="false" Width="470px" BodyPadding="5px" Title="表单" runat="server">
                    <Items>
                        <ext:Panel ID="Panel2" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label11" runat="server" Width="60px" Text="项目编号：" CssClass="inline"></ext:Label>
                                <ext:TriggerBox ID="txt_PRJNUB" Required="true" Width="160px" EnableEdit="false" ShowLabel="false" Readonly="false" TriggerIcon="Search" EmptyText="选择项目" runat="server">
                                </ext:TriggerBox>
                                <ext:Label ID="Label3" runat="server" Width="85px" Text="项目名称：" CssClass="tright"></ext:Label>
                                <ext:TextBox ID="txt_Proj_Name" Readonly="true" Label="项目名称" runat="server" Required="true" ShowRedStar="true" Width="145px" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel4" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label2" runat="server" Width="60px" Text="项目完工时间：" CssClass="inline"></ext:Label>
                                <ext:DatePicker ID="txt_EDTIME" Required="true" runat="server" Label="项目完工时间" Width="120px"></ext:DatePicker>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel3" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label1" runat="server" Width="60px" EncodeText="false" Text="备注：" CssClass="tright"></ext:Label>
                                <ext:TextArea ID="txt_ReMark" runat="server" Label="备注" Width="360px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                        <ext:Grid runat="server" ID="Grid1" Height="170px" OnRowDataBound="Grid1_RowDataBound" Title="档案文件" OnRowCommand="Grid1_RowCommand" AutoScroll="true" ShowHeader="true" EnableRowNumber="true">
                            <Toolbars>
                                <ext:Toolbar ID="Toolbar1" CssClass="mytoolbar" runat="server">
                                    <Items>
                                        <ext:FileUpload runat="server" ID="filePhoto" ButtonText="上传附件" ButtonOnly="true"
                                            AutoPostBack="true" ButtonIcon="DiskUpload" OnFileSelected="filePhoto_FileSelected" Width="77px" Height="20px">
                                        </ext:FileUpload>
                                    </Items>
                                </ext:Toolbar>
                            </Toolbars>
                            <Columns>
                                <ext:BoundField DataField="FileName" Width="370px" HeaderText="文件名" />
                                <ext:BoundField DataField="FileName" Width="250px" HeaderText="文件名" Hidden="true" />
                                <ext:LinkButtonField ConfirmText="你确定要这么做么？" ConfirmTarget="Top" Icon="Decline" ColumnID="ID"
                                    Width="50px" CommandName="Del" TextAlign="Center" HeaderText="删除" />
                            </Columns>
                        </ext:Grid>
                    </Items>
                </ext:SimpleForm>

                <%--<ext:GroupPanel ID="GroupPanel2" EnableBackgroundColor="true" AutoHeight="true" Title="查看权限"
                    runat="server">
                    <Items>
                    </Items>
                </ext:GroupPanel>--%>
            </Items>
        </ext:Panel>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
            CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="500px" Height="400px">
        </ext:Window>
        <ext:HiddenField ID="hf" runat="server"></ext:HiddenField>
    </form>

</body>
</html>
